projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75fe17
)
Don't fontify \item like \it.
author
Simon Marshall
<simon@gnu.org>
Mon, 15 Sep 1997 09:03:45 +0000
(09:03 +0000)
committer
Simon Marshall
<simon@gnu.org>
Mon, 15 Sep 1997 09:03:45 +0000
(09:03 +0000)
lisp/font-lock.el
patch
|
blob
|
history
diff --git
a/lisp/font-lock.el
b/lisp/font-lock.el
index 4f183cd42309289afa28250dbeb5f1e7016d1b89..adac03d3c1efdc909b6f23a6e9e9188d9e21ed0e 100644
(file)
--- a/
lisp/font-lock.el
+++ b/
lisp/font-lock.el
@@
-2182,9
+2182,9
@@
This function could be MATCHER in a MATCH-ANCHORED `font-lock-keywords' item."
'(quote bold-italic) 'keep)
;;
;; Old-style bf/em/it/sl. Stop at `\\' and un-escaped `&', for tables.
- (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\
(em\\)?\\
|sl\\)\\>"
+ (list (concat "\\\\\\(\\(bf\\)\\|em\\|it\\|sl\\)\\>"
"\\(\\([^}&\\]\\|\\\\[^\\]\\)+\\)")
-
4
'(if (match-beginning 2) 'bold 'italic) 'keep)
+
3
'(if (match-beginning 2) 'bold 'italic) 'keep)
))))
"Gaudy expressions to highlight in TeX modes.")